home *** CD-ROM | disk | FTP | other *** search
- Path: ccat.sas.upenn.edu!aaron
- From: aaron@ccat.sas.upenn.edu (Aaron Pawlyk)
- Newsgroups: comp.lang.c
- Subject: Determining Program Memory Usage
- Date: 1 Jan 1996 18:41:03 GMT
- Organization: University of Pennsylvania
- Message-ID: <4c99rv$qph@netnews.upenn.edu>
- NNTP-Posting-Host: ccat.sas.upenn.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hello. I've scowered a few reference manuals and some programmers for a
- C function that will return the memory used by the program it is called within.
-
- I'm just looking for some code or a function that'll return memory currently
- used by a program. Any references to any code or any quick examples of how
- to do this would be appreciated.
-
- Lessee. System information. Linux (Slackware). Kernel 1.2.11.
-
- Running GCC 2.5.6 (or about there...)
-
- Aaron Pawlyk
-
-